pull: Stage content asynchronously
authorColin Walters <walters@verbum.org>
Fri, 5 Oct 2012 00:00:00 +0000 (20:00 -0400)
committerColin Walters <walters@verbum.org>
Fri, 5 Oct 2012 00:00:00 +0000 (20:00 -0400)
commit9618232f4da325692dcf98fd6ff5b8abd9fce66c
tree370f6e298544cf625e660597bab33f219c99ad8d
parent5b8e8333517743ad35d514f58d3adfd950dd6d45
pull: Stage content asynchronously

For similar reasons as metadata, this avoids having the main thread
blocked in fdatasync(), and even better - we can achieve much higher
parallelism if we have multiple threads blocked on fdatasync().
src/libostree/ostree-repo.c
src/libostree/ostree-repo.h
src/ostree/ostree-fetcher.c
src/ostree/ostree-fetcher.h
src/ostree/ostree-pull.c